<template>
  <web-view :src="url"></web-view>
</template>

<script>
export default {
  data() {
    return {
      url: ''
    }
  },
  onLoad(options) {
    uni.setNavigationBarColor({
      frontColor: '#000000',
      backgroundColor: '#70dbff'
    })
    this.url = decodeURIComponent(options.url || '');
  }
}
</script>
